package com.data.center.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-01-15 03:58:49
 */
@Getter
@Setter
@TableName("event")
@ApiModel(value = "Event对象", description = "")
public class Event implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("活动ID")
    @TableId("event_id")
    private String eventId;

    @ApiModelProperty("奖项ID")
    @TableField("award_id")
    private String awardId;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("简称")
    @TableField("abbreviation")
    private String abbreviation;

    @ApiModelProperty("年份")
    @TableField("year")
    private Date year;

    @ApiModelProperty("届数")
    @TableField("ordinal")
    private Integer ordinal;

    @ApiModelProperty("开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty("主办单位")
    @TableField("organizer")
    private String organizer;

    @ApiModelProperty("父活动")
    @TableField("parent_event_id")
    private String parentEventId;

    @ApiModelProperty("子活动")
    @TableField("children_event_ids")
    private String childrenEventIds;

    @ApiModelProperty("文件")
    @TableField("file")
    private String file;


}
